package com.rran.study.designpattern.behavioral.observer.factory;

import com.rran.study.designpattern.behavioral.observer.event.app.AppEvent;
import com.rran.study.designpattern.behavioral.observer.listener.app.AppListener;
import com.rran.study.designpattern.behavioral.observer.repository.AppEventListenerRepository;
import org.springframework.util.Assert;

import java.util.List;

/**
 * @author yy
 * @Type AppEventListenerFactory.java
 * @Desc
 * @date 2020/7/21 20:44
 */
public class AppEventListenerFactory {

    public static List<AppListener> getListenerList(String className) {
        return AppEventListenerRepository.getListenerList(className);
    }


}
